package Day08_17;

import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Test_Properties {
    public static void main(String[] args) {
        Properties pro = new Properties();
        pro.setProperty("1","1k");
        pro.setProperty("2","2k");
        //System.out.println(pro.getProperty("1"));
        Set<Map.Entry<Object, Object>> set = pro.entrySet();
        for (Map.Entry<Object, Object> i:set){
            System.out.println(i.getKey()+"="+i.getValue());
        }
    }
}
